package com.qf.admin.domain;

/**
 * 统计前十商品的实体类
 */
public class GoodEchart {
    Integer id;  //商品id
    Integer num; //商品数量
    String name; //商品名字

    public GoodEchart() {
    }

    public GoodEchart(String name) {
        this.name = name;
    }

    public GoodEchart(Integer id, Integer num) {
        this.id = id;
        this.num = num;
    }

    public GoodEchart(Integer id, Integer num, String name) {
        this.id = id;
        this.num = num;
        this.name = name;
    }

    @Override
    public String toString() {
        return "GoodEchart{" +
                "id=" + id +
                ", num=" + num +
                ", name='" + name + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
